package com.hospital.service;

import com.hospital.controller.Result;
import com.hospital.dao.DoctorDao;
import com.hospital.domain.Doctor;
import org.springframework.beans.factory.annotation.Autowired;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DoctorService {
    List<Doctor> selectDoctorByCondition(String doctorName, String departmentName);

    Result login(Doctor doctor, HttpServletRequest request, HttpServletResponse response);

    Integer selectRate(String doctorNum);

    Doctor selectDoctorByDoctorID(int doctorID);
}
